double sided 您所在的位置:网站首页 even pages in only double sided

double sided

2023-03-30 07:04| 来源: 网络整理| 查看: 265

Hi everyone I have been trying to create a different header for even or odd pages where I want to see the name of the section and the name of subsections. This is what I have done but it is not working.

\usepackage{fancyhdr} \makeatother \usepackage{babel} \begin{document} \pagenumbering{Roman} \renewcommand{\thesection}{\Roman{section}} \section{Introduction} \newpage \renewcommand{\thesection}{\arabic{section}} \setcounter{section}{0} \pagenumbering{arabic} \pagestyle{fancy} \fancyhf{} \fancyfoot{} \fancyhead[RO,LE]{\thepage} \fancyhead[LO]{\small\nouppercase\leftmark} \fancyhead[RE]{\small\rightmark} \section{First Section} \newpage \subsection{First subsection} \newpage \subsection{Second subsection} \newpage \section{Second Section} \newpage \subsection{First subsection} \newpage \subsection{Second subsection} \end{document}

This is pretty much my example, I would like to see something like this: On even pages the name of the section, and on odd pages the name of the subsection, but I am having the same result always. Only the name of the section appears, and the numeration is not located according with the kind of page (even or odd).

What else do I need to add or erase?.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有